package com.jack.vipmis.vip.business.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.jack.vipmis.common.entity.BaseEntity;
import com.jack.vipmis.common.plugin.entity.Movable;

/**
 * 商家类型
 * 
 * @author JackLiang
 * @date 2014-6-7
 * @version 1.0
 */
@Entity
@Table(name = "business_type")
public class BusinessType extends BaseEntity<Long> implements Movable {

	@Column(name = "type_name")
	private String	typeName;

	@Column(name = "weight")
	private Integer	weight;

	@Column(name = "type_remark")
	private String	typeRemark;

	@Column(name = "create_date")
	@Temporal(TemporalType.DATE)
	private Date	createDate;

	@Column(name = "is_show")
	private Boolean	show;

	// getter setter
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getTypeRemark() {
		return typeRemark;
	}

	public void setTypeRemark(String typeRemark) {
		this.typeRemark = typeRemark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Boolean getShow() {
		return show;
	}

	public void setShow(Boolean show) {
		this.show = show;
	}

}
